package com.bdqn;

import com.bdqn.pojo.SysUser;
import com.bdqn.service.SysUserService;
import com.bdqn.service.SysUserServiceImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

public class test {


    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
        SysUserService sysUserService=(SysUserService)context.getBean("sysUserService");
//        int byId = sysUserService.del(46);
//        if(byId>0){
//            System.out.println("删除成功");
//        }


    }

}
